<script lang="ts" setup>
	import type { PropType } from 'vue'
	interface Book {
		title : string
		author : string
		year : number
	}

	const props = defineProps<{ book : Book }>()
	const props2 = defineProps({ book: Object as PropType<Book> })
</script>